package com.lysj.bhp.api.controller;

import com.lysj.bhp.api.base.ApiContent;

import com.lysj.bhp.util.web.Resp;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v2/user")
@Api(value = "ApiSuperNodeUserController", tags = "用户添加超级节点接口")
public class ApiSuperNodeUserController extends ApiContent {


    /**
     * @author drj
     * @date 2018/06/28 16:32
     * @Description:用户添加超级节点编码
     */
    @ApiOperation(value = "添加超级节点编码", notes = "需要填写超级节点编号")
    @PostMapping("/add_node_user")
    public Resp addNodeUser(String superNodeCode,String mineAccountEveryOne) {

        return apiSuperNodeService.addNodeUser(superNodeCode,mineAccountEveryOne);

    }
}
